using System;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "New Theme Config", menuName = "BubbleGame/New Theme Config")]
public class ThemeConfig : ScriptableObject
{
    public RandomObjectPool bgPool;
    public float defaultSpeedY;
    public float waterChange;
    public GameObject GetRandomSection() => bgPool.GetRandomObject();
}